<%--
  Created by IntelliJ IDEA.
  User: 若兮
  Date: 2021/12/27
  Time: 9:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>简历审核</title>
    <link rel="stylesheet" href="layui/css/layui.css">
    <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
</head>
<body>
<div class="layui-table-tool layui-anim layui-anim-downbit">
    <div class="layui-table-tool-temp"></div>
    <div class="layui-table-tool-self">
        <div class="layui-inline" title="筛选列" lay-event="LAYTABLE_COLS"><i class="layui-icon layui-icon-cols"></i></div>
        <div class="layui-inline" title="导出" lay-event="LAYTABLE_EXPORT"><i class="layui-icon layui-icon-export"></i>
        </div>
        <div class="layui-inline" title="打印" lay-event="LAYTABLE_PRINT"><i class="layui-icon layui-icon-print"></i>
        </div>
    </div>
</div>
<form class="layui-form" action="#" method="post">
    <table class="layui-table">
        <colgroup>
            <col width="100">
            <col width="120">
            <col width="150">
            <col width="150">
            <col width="120">
        </colgroup>
        <thead>
        <tr>
            <th>编号</th>
            <th>姓名</th>
            <th>申请职务</th>
            <th>毕业院校</th>
            <th>性别</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${requestScope.resumeCheckPg.list}" var="resumeList">
            <tr>
                <td>${resumeList.id}</td>
                <td>${resumeList.name}</td>
                <td>${resumeList.job}</td>
                <td>${resumeList.collage}</td>
                <td>${resumeList.sex}</td>
                <td>
                    <a class="layui-btn layui-btn-xs" href="${pageContext.request.contextPath}/resumeCheckInfo?id=${resumeList.id}">审核详细信息</a>
                </td>
            </tr>
        </c:forEach>
        </tbody>
    </table>

    <c:if test="${requestScope.resumeCheckPg.currentPage <= 1}">
        <button class="layui-btn layui-btn layui-btn-disabled" type="button">上一页</button>
    </c:if>

    <c:if test="${requestScope.resumeCheckPg.currentPage > 1}">
        <a href="${pageContext.request.contextPath}/showAllResumeCheckByPage?currentPage=${requestScope.resumeCheckPg.currentPage-1}"
           class="layui-btn">上一页</a>
    </c:if>

    <c:if test="${requestScope.resumeCheckPg.currentPage >= requestScope.resumeCheckPg.totalPage}">
        <button class="layui-btn layui-btn layui-btn-disabled" type="button">下一页</button>
    </c:if>

    <c:if test="${requestScope.resumeCheckPg.currentPage < requestScope.resumeCheckPg.totalPage}">
        <a href="${pageContext.request.contextPath}/showAllResumeCheckByPage?currentPage=${requestScope.resumeCheckPg.currentPage+1}"
           class="layui-btn">下一页</a>
    </c:if>

</form>
<script type="text/javascript" src="layui/layui.js"></script>
<script type="text/javascript" src="js/jquery-3.6.0.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
